package com.jml.juc.fork;


import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.RecursiveTask;

/**
 * @author:jml
 * @date: 2019/5/30 0:39
 * @description：
 */
public class WorkFork {

    private List<RecursiveTask> recursiveList = new ArrayList<>();


    public List getReList() {
        return this.recursiveList;
    }

    public void addTask(RecursiveTask recursiveTask){
        recursiveList.add(recursiveTask);
    }

}
